KISSY.use("node",function(S,Node){ 
	var $=Node.all;
	$(".bui-tab-item").on("click",function(){
		$(".bui-tab-item").removeClass("bui-tab-item-selected");
		$(this).addClass("bui-tab-item-selected");
		var tp = $(this).attr("data-tp");
		var admin = $(this).attr("data-admin");
		var type = $(".type").val();
		location.href=("/?m=shopadmin&c=kami&ctp="+tp+(type?"&type="+type:""));
	});
	$(".trash").on("click",function(){
		location.href=("/?m=shopadmin&c=kami&ctp=crash");
	});
});